﻿using Rsd.Dudu.ModelProvider;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rsd.Faith.Models
{

    /// <summary>
    /// 楼栋信息表
    /// </summary>
    public class InfoLouDongXinXiBiaoModel : Rsd.Faith.Core.ModelBase
    {
        /*
            预(销)售许可证号	  201950
            预(销)售批准机关	  住房和城乡建设局  
            楼盘编号	          
            楼盘名	              欣悦华庭三期

            楼栋编号(公安)	              1幢,
            楼栋编号(施工)	              1幢,
            楼栋上市编号
        
             
         */

        /// <summary>
        /// 小区编号
        /// </summary> 
        [StringType("xiao_qu_bian_hao", "小区编号", 22, 20)]
        [DisplayName("小区编号")]
        public string XiaoQuBianHao { get; set; }

        /// <summary>
        /// 楼栋编号
        /// </summary>
        [TableIndex(TableIndexType.Normal, TableIndexUsing.BTree)]
        [StringType("lou_dong_bian_hao", "楼栋编号", 24, 20)]
        [DisplayName("楼栋编号")]
        public string LouDongBianHao { get; set; }

        /// <summary>
        /// 上市楼宇编号
        /// </summary> 
        [StringType("shang_shi_bian_hao", "上市楼宇编号", 26, 20)]
        [DisplayName("上市楼宇编号")]
        public string ShangShiBianHao { get; set; }

        /// <summary>
        /// 楼栋号
        /// </summary>
        [StringType("lou_dong_hao", "楼栋号", 28, 250)]
        [DisplayName("楼栋号")]
        public string LouDongHao { get; set; }

        /// <summary>
        /// 总层数
        /// </summary>
        [IntegerType("zong_ceng_shu", "总层数", 38)]
        [DisplayName("总层数")]
        public int ZongCengShu { get; set; }

        /// <summary>
        /// 是否有电梯
        /// </summary>
        [IntegerType("you_dian_ti", "是否有电梯", 39)]
        [DisplayName("是否有电梯")]
        public int YouDianTi { get; set; }

        /// <summary>
        /// 地面层数
        /// </summary>
        [IntegerType("di_mian_ceng_shu", "地面层数", 40)]
        [DisplayName("地面层数")]
        public int DiMianCengShu { get; set; }

        /// <summary>
        /// 总户数
        /// </summary>
        [StringType("zong_hu_shu", "总户数", 42)]
        [DisplayName("总户数")]
        public int ZongHuShu { get; set; }

        /// <summary>
        /// 总面积
        /// </summary>
        [NumericType("zong_mian_ji", "总面积", 44, 20, 2)]
        [DisplayName("总面积")]
        public decimal ZongMianJi { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [StringType("zhuang_tai", "状态", 54, 10)]
        [DisplayName("状态")]
        public string ZhuangTai { get; set; }
    }
}
